package com.xc.xcrpc.fault.retry;

import com.xc.xcrpc.model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * 重试策略
 * @author zqx
 * @since 2024/10/2
 */
public interface RetryStrategy {

    RpcResponse doRetry(Callable<RpcResponse> callable) throws Exception;

}
